package com.kly.service;

import com.fqgj.common.api.Response;
import com.kly.dto.MemberDto;
import com.kly.dto.ProductDto;

public interface MemberService {
    Response<MemberDto> getMemberInfo(String userCode, String appCode);


    Response<MemberDto> saveOrUpdateMember(String userCode, ProductDto product);


    public Response<MemberDto> queryMemberSubscription(String appCode, String userCode, Integer productCategoryCode);


    Response<MemberDto> offAutoRenew(String userCode);

    Response<Boolean> ifMember(String userCode);


    /**
     * 是否有过会员记录
     * @param userCode
     * @return
     */
    Response<Boolean> haveMemberRecord(String userCode);
}
